/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */

@import "base/environment";
@import "components/ic-reset";
@import "components/ic-typography";

// the first line of public/javascripts/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/content.css
// sets these to undesireable values, rather than modify that vendor file, we just override them here
// to match the rest of the content in canvas
body, td {
  margin: 0;
}

.mce-content-body {
  margin: 11px;
  td {
    padding: 2px;
    min-width: 20px;
  }
}

.mce-item-table, .mce-item-table td, .mce-item-table th, .mce-item-table caption, .mce-item-visual-aid {
  border: 1px dashed #888;
}

.mce-item-table tr{
  height: 20px;
}

.mce-item-table td {
  padding: 2px;
  min-width: 20px;
}

body#tinymce, body#tinyrce{
  height: 100vh;
}

@import "our_custom_tiny_mce_stuff/_tinymce.editor_box.scss";
